﻿<%@ Control language="C#" Inherits="Enterprise.SearchEnterprise" CodeFile="SearchEnterprise.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_userList.ascx" TagName="tm_userList" TagPrefix="uc3" %>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc2" %>
<%@ Register Src="../../controls/tm_uploadFile.ascx" TagName="UploadFile" TagPrefix="uc1" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<center>
<asp:Panel ID="pnlResult" runat="server" Width="100%"><TABLE width="100%" border=0><TBODY><TR><TD colSpan=2><asp:Label id="lblSearchMessage" runat="server" CssClass="titletext2"></asp:Label> <uc3:tm_userList id="searchUserList" runat="server" Visible="false"></uc3:tm_userList> </TD></TR></TBODY></TABLE></asp:Panel>
<asp:Panel ID="pnlSearch" runat="server" Width="100%">

<table border="0" width="100%" class="table">
    <tr>
        <td class="table" colspan="3" style="text-align: center">
            &nbsp;<asp:LinkButton ID="btnNewEnterprise" runat="server" OnClick="btnNewEnterprise_Click" Width="120px" ></asp:LinkButton>
            <asp:LinkButton ID="btnPendingEnterprise" runat="server" OnClick="btnPendingEnterprise_Click" Width="120px"></asp:LinkButton>
            <asp:LinkButton ID="btnNoUserExpireDate" runat="server" OnClick="btnNoUserExpireDate_Click" Width="154px" ></asp:LinkButton>
            <asp:LinkButton ID="btnNoHaveProduct" runat="server" OnClick="btnNoHaveProduct_Click"></asp:LinkButton></td>
    </tr>
    <tr>
        <td width="10%">
        </td>
        <td width="15%">
            <asp:Label ID="lblRegisterDate" runat="server" Text="Ngày đăng ký :"   CssClass="titletext3" Font-Italic="False"></asp:Label></td>
        <td width="75%">
            <asp:TextBox ID="tbxFromDate" runat="server" Width="80px"></asp:TextBox><asp:HyperLink ID="hlkFromDate" runat="server" ImageUrl="~/images/calendar.png">
                <asp:Image ID="imgSearchCalendar" runat="server" ImageUrl="~/images/CalendarAJ.png" /></asp:HyperLink><asp:TextBox ID="tbxToDate" runat="server" Width="80px"></asp:TextBox><asp:HyperLink ID="hlkToDate" runat="server" ImageUrl="~/images/calendar.png"><asp:Image ID="Image1" runat="server" ImageUrl="~/images/CalendarAJ.png" /></asp:HyperLink></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px">
            <asp:Label ID="lblAccount" runat="server" Text="Tài khoản :"   CssClass="titletext3"></asp:Label>
        </td>
        <td style="width: 395px">
            <asp:TextBox ID="tbxAccount" runat="server" MaxLength="15"></asp:TextBox><asp:CheckBox ID="cbxAccount" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px" >
            <asp:Label ID="lblFullName" runat="server" Text="Tên  đăng ký:"   CssClass="titletext3"></asp:Label></td>
        <td style="width: 395px">
            <asp:TextBox ID="tbxFullName" runat="server" MaxLength="50"></asp:TextBox><asp:CheckBox ID="cbxFullName" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px">
            <asp:Label ID="lblCompanyName" runat="server"   Text="Tên công ty :" CssClass="titletext3"></asp:Label></td>
        <td style="width: 395px">
            <asp:TextBox ID="tbxCompanyName" runat="server"></asp:TextBox><asp:CheckBox ID="cbxCompanyName" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px"  >
            <asp:Label ID="lblEmail" runat="server" Text="Email :"   CssClass="titletext3"></asp:Label></td>
        <td style="width: 395px">
            <asp:TextBox ID="tbxUserEmail" runat="server" MaxLength="50"></asp:TextBox><asp:CheckBox ID="cbxUserEmail" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px">
            <asp:Label ID="Label5" runat="server" Text="Điện thoại:"   CssClass="titletext3"></asp:Label></td>
        <td style="width: 395px">
            <asp:TextBox ID="tbxUserPhone" runat="server" MaxLength="30"></asp:TextBox><asp:CheckBox ID="cbxUserPhone" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px;">
            <asp:Label ID="Label1" runat="server"   Text="Loại hình:" CssClass="titletext3"></asp:Label></td>
        <td style="width: 395px">
            <asp:DropDownList ID="ddlUserType" runat="server" AppendDataBoundItems="True" Width="220px">
                <asp:ListItem Value="All">Tất cả</asp:ListItem>
                <asp:ListItem Value="1">Doanh nghiệp - Đơn vị - Tổ chức</asp:ListItem>
                <asp:ListItem Value="2">C&#225; nh&#226;n</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="height: 24px">
        </td>
        <td style="height: 24px">
            <asp:Label ID="lblUserStatus" runat="server"   Text="Trạng thái :" CssClass="titletext3"></asp:Label></td>
        <td style="height: 24px">
            <asp:DropDownList ID="ddlUserStatus" runat="server" AppendDataBoundItems="True" Width="220px">
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px;">
        </td>
        <td>
            <asp:CheckBox ID="cbxExpire" runat="server" Text="Hết hạn sử dụng          " CssClass="titletext3" Width="171px" /><asp:CheckBox ID="chkHaveProduct" runat="server" Text="Có chào bán" CssClass="titletext3" /></td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px">
        </td>
        <td style="width: 395px">
        </td>
    </tr>
    <tr>
        <td style="width: 108px">
        </td>
        <td style="width: 108px">
        </td>
        <td style="width: 395px">
            &nbsp;<asp:Button ID="btnSearch" runat="server" Text="Tìm kiếm"   OnClick="btnSearch_Click" Width="80px" ValidationGroup="a" CssClass="btn" />
            <asp:Button ID="btnReset" runat="server" Text="Làm lại"   OnClick="btnReset_Click" Width="80px" ValidationGroup="a" CssClass="btn" /></td>
    </tr>
    <tr>
        <td colspan="3" class="table" align="center">
            &nbsp;<asp:Label ID="lblNotice" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 108px" valign="top">
        </td>
        <td style="width: 108px" valign="top">
            <asp:Label ID="lblField" runat="server" Font-Bold="True" Text="Lĩnh vực :" CssClass="titletext3"></asp:Label></td>
        <td valign="top" style="width: 395px">
        </td>
    </tr>
    <tr>
        <td colspan="1" valign="top">
        </td>
        <td valign="top" colspan="2">
            <uc2:tm_Treeview ID="trvProductCat" runat="server" myHeight="200" />
            </td>
    </tr>
</table>
            <uc1:UploadFile ID="tm_uploadFile" runat="server" Visible="false" />
</asp:Panel>
    <asp:Label ID="lblDebugMsg" runat="server"></asp:Label></center>
 
